﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace NET.Library.Windows.Forms.DataControls.DataGridViews
{
    public class DataGridViewValues
    {
        #region ComboBox Controls
        public static void SetDropDownListSelectedValue(DataGridViewComboBoxColumn dataGridViewComboBoxColumn, string valueToSelect)
        {
            for (int i = 0; i < dataGridViewComboBoxColumn.Items.Count; i++)
            {
                //if (dataGridViewComboBoxColumn.Items[i].Value == valueToSelect)
                //{
                //    dataGridViewComboBoxColumn.Items[i].SelectedIndex = i;
                //    break;
                //}
            }
        }
        #endregion
    }
}
